<form id="form1" name="form1" action="/lottery/history/" method="POST">
<table border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#FFFFFF">
  <tr align="center">
	<td>
        <a href="/lottery/home/" class="style1">Home</a>
        <a href="/lottery/drawList/" class="style1">Now</a>
        <a href="/lottery/history/1/" class="style1">History</a>
        <a href="/lottery/refresh/" class="style1">Refresh</a>
        <a href="/lottery/lucky" class="style1">My lucky</a>
    </td>
  </tr>
</table>
<p align="center">
        <a href='/lottery/history/1/' >First</a>
        <a href='/lottery/history/{{ page_number|add:"-1" }}/' >Previus</a>
        <input type="text" name="stran" id="stran" size="3" value="{{ page_number }}" onChange=""> / {{ pages }}
        <a href='/lottery/history/{{ page_number|add:"1" }}/' >Next</a>
        <a href='/lottery/history/{{ pages }}/' >Last</a>
</p>
</form>

<table border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#FFFFFF">
<tr>
    <th><b>Round</b></th>
    <th><b>Date</b></th>
    <th><b>Numbers</b></th>
    <th><b>Num 7</b></th>
    <th><b>Value</b></th>
    <th><b>State</b></th>
</tr>
{% for draw in draws %}
<tr>
    <td> {{ draw.round_number }}</td>
    <td> {{ draw.date }}</td>
    <td> {{ draw.numbers_list }}</td>
    <td> {{ draw.extra_number }}</td>
    <td> {{ draw.value }}</td>
    <td> {{ draw.town }}</td>
</tr>
{% endfor %}
</table>


<style type="text/css">
    <!--
    body {
        background-color: #3779AF;
    }
    body,td,th {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #FFDB4C;
}
.style1 {color: #FFFFFF}
a {color: #FFFFFF}
.style2 {font-size: 10px;}
-->
</style>
